<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://cdn.bootcss.com/jquery/3.1.0/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/spark-md5/2.0.2/spark-md5.min.js"></script>
    <script src="js/upload.js"></script>
</head>
<body onload="bind_upload()">
<div>
    <a class="upload_media" href="javascript:;" data-type="img">
        <img src="http://ejs-test.oss-cn-hangzhou.aliyuncs.com/2.jpg" style="width: 480px; height: 270px"/>
    </a>
    <input type="file" accept="image/*" style="display: none">
</div>
<div>
    <a class="upload_media" href="javascript:;" data-type="video">
        <video src="" controls="controls" style="width: 480px; height: 270px"></video>
    </a>
    <input type="file" accept="video/*" style="display: none">
</div>

</body>
</html>